package net.zjitc.object.shape;

/**
 * @Author admin
 * @Date 2019/3/20 9:08 *
 */
public class Rectangle extends Shape{
    public Rectangle() {
    }

    public Rectangle(String name) {
        super(name);
    }

    @Override
    public void print() {
        System.out.println(name+"，面积是a*b");
    }
}
